BOOST_DIR=boost_1_45_0
LDFLAGS := -lpthread -lBALL -L$(BOOST_DIR)/stage/lib -lboost_program_options
CXXFLAGS := -pipe -fPIC -g3 -O0 -I$(BOOST_DIR)

BINARY := fdmde
BIN_DIR := .

CPP_FILES := IO/DYNAMOFile.cpp IO/PDB2Dyn.cpp IO/BALL_PDB_Types_Adapter.cpp IO/MoleculeReader.cpp IO/Mech2Dyn.cpp model/Molecule.cpp
OBJECTS := $(patsubst %.cpp,%.o,$(CPP_FILES))
MAIN_SRC := main.cpp

all: $(BINARY)

include common.mk

